﻿.radio-list {
    --bb-radio-item-width: 200px;
    --bb-radio-item-padding: 6px 0.75rem;
    display: flex;
    flex-wrap: wrap;
}

    .radio-list .form-check {
        width: var(--bb-radio-item-width);
    }

    .radio-list.is-vertical {
        flex-direction: column;
        height: auto;
        line-height: unset;
    }

        .radio-list.is-vertical .form-check:not(:last-child) {
            margin-bottom: .5rem;
        }

    .radio-list.form-control {
        padding: var(--bb-radio-item-padding);
    }

    .radio-list.btn-group {
        border: 1px solid var(--bs-secondary);
        display: inline-flex;
        flex: 0 !important;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

        .radio-list.btn-group > .btn {
            white-space: nowrap;
        }

        .radio-list.btn-group .active {
            color: #fff;
        }

        .radio-list.btn-group.disabled > span {
            opacity: var(--bs-btn-disabled-opacity);
        }

            .radio-list.btn-group.disabled > span:not(.active) {
                background-color: var(--bb-disabled-bg);
            }
